//#define MYSQLPP_MYSQL_HEADERS_BURIED
#include <iostream>
#include <string>
#include <mysql++.h>
#include <stdlib.h>
//#include "/usr/include/mysql++/connection.h"
//#include <mysql++/query.h>

using namespace std;
using namespace mysqlpp;

int main (void)
{
	//mysqlpp::get_library_version();
	Connection conn(true);
	//Connection conn("vrwebmonitor", "192.168.237.219", "xbq", "xubingqing");
	Query query(conn.query());
	//mysqlpp::StoreQueryResult res = query.store("select * from vrlist;");
	//if (res.num_rows()>0)
	{
		//cout << res.num_rows() << endl;
	}
	//cout << __FILE__ << __FUNCTION__ << __LINE__ << endl;
	string info = __FILE__;
	info += __FUNCTION__;
	cout << info << endl;
	return 0;
}
